<?php
/**
 * An example ps_MetaBase_Filter Class
 * This one does nothing
 */
class ps_MetaBase_Filter_Mock extends ps_MetaBase_Filter implements ps_MetaBase_iFilter {
	/**
	 * Just a wakeup call executed when this filter
	 * is activated and loaded into the chain
	 */
	function init() {

	}

	/**
	 * in() receives the $data before it's stored and
	 * must return $data or a modified form of it.
	 *
	 * out() should mirror or inverse the operations performed here
	 */
	function in( $data ) {
		return $data;
	}

	/**
	 * out() Sees the data after it's fetched from storage and
	 * must return $data or a modified form of it.
	 *
	 * This method should mirror or inverse the operations performed by in()
	 */
	function out( $data ) {
		return $data;
	}
}
?>
